﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Proggy.Web.Cms.ContentModel;
using System.Web.Mvc;
using Proggy.Data.Abstract;
using Proggy.Data.Entities;

namespace Proggy.Web.Cms.Repositories.ContentModel
{
    /// <summary>
    /// For use in setting cached objects only
    /// </summary>
    public interface IContentModelDataRepository
    {
        IContentModel GetContentModelFromNodeId(int nodeId, bool onlyPublished);
        IContentModel GetDraftContentModelFromId(int id);
        IContentModelConverter ContentModelConverter { get; }
    }
}
